﻿using System;
using System.Windows.Media.Media3D;

namespace UniversalEditor._3d.Viewport
{
	public class ViewportViewModel
	{
		private readonly ViewportModel _model;

		internal ViewportViewModel(ViewportModel model)
		{
			if (model == null) 
				throw new ArgumentNullException("model");

			_model = model;
		}

		public Model3DGroup Model
		{
			get { return _model.Model; }
		}

		public static ViewportViewModel Designer
		{
			get {return new ViewportViewModel(new ViewportModel());}
		}
	}
}
